import 'package:flame/components.dart';

import '../../../component/SpriteEntity.dart';

class PeaHit extends SpriteEntity {
  PeaHit(super.spriteImg);

  @override
  Future<void> onLoad() async {
    await super.onLoad();
    position = Vector2(position.x + 8, position.y + 20);
  }
}